<?php
include_once('config.php');
if(@$_POST['register']){
	$dongy = trim($_POST['dongy']);
	$congty = trim($_POST['congty']);
	$hoten = trim($_POST['hoten']);
	$dienthoai = trim($_POST['dienthoai']);
	$email = trim($_POST['email']);
	if($dongy=='on' && $congty!='' && $hoten!='' && strlen($dienthoai)>9 && $email!=''){
		include_once('sendmail_smtp/send.php');
	}else{
		echo '0';
	}
}